package com.wanmait.schedule.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 操作日志表
 * </p>
 *
 * @author wanmait
 * @since 2022-03-02
 */
@Data
@Accessors(chain = true)
public class Log {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer adminId;

    @TableField(exist = false)
    private Admin admin;

    private LocalDateTime inputTime;

    /**
     * 记录操作ip
     */
    private String opIp;

    private String info;


}
